package com.xiaoyu.lingdian.service.impl;

import com.xiaoyu.lingdian.service.CoreTeamService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.xiaoyu.lingdian.core.mybatis.dao.MyBatisDAO;
import com.xiaoyu.lingdian.entity.CoreTeam;

@Service("coreTeamService")
public class CoreTeamServiceImpl implements CoreTeamService {

	@Autowired
	private MyBatisDAO myBatisDAO;

	@Override
	public boolean updateCoreTeam(CoreTeam coreTeam) {
		myBatisDAO.update(coreTeam);
		return true;
	}

	@Override
	public CoreTeam getCoreTeam(CoreTeam coreTeam) {
		return (CoreTeam) myBatisDAO.findForObject(coreTeam);
	}

//<=================定制内容开始==============
//==================定制内容结束==============>

}